package com.cloudkinto.service.platform.vo.amazon;

import lombok.Data;
import lombok.Getter;

import java.util.List;

@Data
public class OrdersEntitySP {
    /**
     * AmazonOrderId : 249-4664521-5533464
     * EarliestShipDate : 2021-05-02T14:59:59Z
     * SalesChannel : Amazon.co.jp
     * OrderStatus : Shipped
     * NumberOfItemsShipped : 1
     * OrderType : StandardOrder
     * IsPremiumOrder : false
     * IsPrime : false
     * FulfillmentChannel : AFN
     * NumberOfItemsUnshipped : 0
     * IsReplacementOrder : false
     * IsSoldByAB : false
     * LatestShipDate : 2021-05-02T14:59:59Z
     * ShipServiceLevel : Expedited
     * IsISPU : false
     * MarketplaceId : A1VC38T7YXB528
     * PurchaseDate : 2021-05-01T01:42:03Z
     * SellerOrderId : 249-4664521-5533464
     * PaymentMethod : Other
     * IsBusinessOrder : false
     * OrderTotal : {"CurrencyCode":"JPY","Amount":"18800.00"}
     * PaymentMethodDetails : ["Standard"]
     * IsGlobalExpressEnabled : false
     * LastUpdateDate : 2021-05-02T08:54:04Z
     * ShipmentServiceLevelCategory : Expedited
     */
    private String AmazonOrderId;
    private String EarliestShipDate;
    private String EarliestDeliveryDate;
    private String LatestDeliveryDate;
    private String SalesChannel;
    /**
     * Canceled Shipped Unshipped Pending
     */
    private String OrderStatus;
    private int NumberOfItemsShipped;
    private String OrderType;
    private boolean IsPremiumOrder;
    private boolean IsPrime;
    private String FulfillmentChannel;
    private int NumberOfItemsUnshipped;
    private String IsReplacementOrder;
    private boolean IsSoldByAB;
    private String LatestShipDate;
    private String ShipServiceLevel;
    private boolean IsISPU;
    private OrderBuyerEntity BuyerInfo;
    private ShippingAddressEntity ShippingAddress;
    private String MarketplaceId;
    private String PurchaseDate;
    private String SellerOrderId;
    private String PaymentMethod;
    private List<PaymentExecutionDetailItem> PaymentExecutionDetail;
    private boolean IsBusinessOrder;
    private Money OrderTotal;
    private List<String> PaymentMethodDetails;
    private boolean IsGlobalExpressEnabled;
    private String LastUpdateDate;
    private String ShipmentServiceLevelCategory;


    @Getter
    @Data
    public static class ShippingAddressEntity {
        /**
         * isAddressSharingConfidential : false
         * StateOrRegion : 大阪府
         * AddressLine2 : 2-1-17-305
         * AddressLine1 : 三島郡島本町若山台
         * PostalCode : 618-0024
         * CountryCode : JP
         * Name : 片山　元寿
         */
        private String isAddressSharingConfidential;
        private String StateOrRegion;
        private String AddressLine3;
        private String AddressLine2;
        private String AddressLine1;
        private String PostalCode;
        private String CountryCode;
        private String Name;
        private String City;
        private String Country;
        private String District;
        private String Phone;
        private String AddressType;
    }

}

